<ngx-codemirror
  #codeeditor
  [(ngModel)]="model.sql"
  [options]="model.options">
</ngx-codemirror>